import type { Writable } from 'svelte/store';

export type TabItem = {
  label: string;
  href?: string;
};

export type TabContext = {
  activeTab$: Writable<Number>;
  addTab: (label: string, href?: string) => number;
}